#pragma once

#include "Prerequisite.h"
#include "SPMatrix.h"

namespace SP
{
	class _SP_EXPORT Pipeline
	{
	public:
		Pipeline(void);
		~Pipeline(void);

		void setInputVertex(const void* inputVertices, uint32 verticesCount);
		void setTransformMatrix(const SPMatrix& matrix);
		void setViewport(int width, int height);
		void setOutputBuffer(uint8* output);
		void draw(uint32 primitiveType);
	private:
		const void* mVertexData;
		uint32 mVertexCount;
		SPMatrix mTransformMatrix;
		uint8* mOutputBuffer;
	};
}